<?php

namespace Modules\SmallApi\Http\Controllers;

use HiCommon\Service\BaiduService;
use Illuminate\Support\Facades\Request;

class BaiduCloudOcrController extends BaseController
{

    /**
     * 百度云自动识别机动车行驶证
     *
     * @return array
     * @author wumengmeng <wu_mengmeng@foxmail.com>
     */
    public function vehicle_license(){
        $s_img = Request::input('img');
        $res = BaiduService::orc_vehicle_license($s_img);
        return $res;
    }

}